Keysight VISA.NET Help
ScanfArray(String,UInt16,Int64[]) Method



The format string, which must include a format specifier for a raw binary array of unsigned 16-bit integers.
A pointer to a preallocated unsigned 16-bit integer array that will hold the output data. Note that this pointer argument makes the method unsafe.
Arguments that are needed to complete format specifiers.
Read and parse an array of unsigned 16-bit integers from the formatted I/O read buffer.
Syntax
'Declaration
 
Overloads Function ScanfArray( _
   ByVal format As String, _
   ByVal pArray As UShort, _
   ByVal ParamArray inputs() As Long _
) As Long
'Usage
 
Dim instance As IMessageBasedFormattedIO
Dim format As String
Dim pArray As UShort
Dim inputs() As Long
Dim value As Long
 
value = instance.ScanfArray(format, pArray, inputs)
long ScanfArray( 
   string format,
   ushort* pArray,
   params long[] inputs
)

Parameters

format
The format string, which must include a format specifier for a raw binary array of unsigned 16-bit integers.
pArray
A pointer to a preallocated unsigned 16-bit integer array that will hold the output data. Note that this pointer argument makes the method unsafe.
inputs
Arguments that are needed to complete format specifiers.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025